package com.lin.manager.rabbitmq.service;

import org.springframework.amqp.core.ReturnedMessage;
import org.springframework.amqp.rabbit.connection.CorrelationData;

/**
 * @作者: 林江
 * @创建时间: 2024/4/14
 * @功能:
 */
public interface RabbitmqMessageRecordService {

    void confirm(CorrelationData correlationData, boolean ack, String cause);

    void returns(ReturnedMessage returned);

}
